#include <iostream>
#include <unistd.h>

int main()
{
    while(1) {
        std::cout << "pid: " << getpid() << std::endl; 
        sleep(1);
    }
    return 0;
}